<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录页面</title>
    <link rel="stylesheet" href="/blog/Public/css/bootstrap.min.css">
    <style>
        body {

        }

        .head {
            width: 640px;
            height: 80px;
            background: forestgreen;
            text-align: center;
        }

        .head h1 {
            padding: 20px;
            color: #ececec;
        }

        .box {
            box-shadow: 0 0 3px #000;
            margin: 200px auto 0px auto;
            width: 640px;
        }
        .main {
            padding: 40px 40px;
        }

        .button {
            text-align: center;
        }
    </style>
</head>
<body>
<div class="box">
    <div class="head">
        <h1>登录页面</h1>
    </div>
    <div class="main">
        <form enctype="multipart/form-data" action="<?php echo U('User/Login');?>" method="post" class="form-horizontal">
            <div class="form-group">
                <label for="username" class="col-sm-2 control-label">用户名*</label>

                <div class="col-sm-8">
                    <input type="text" class="form-control" id="username" placeholder="用户名" name="username">
                </div>
            </div>


            <div class="form-group">
                <label for="password" class="col-sm-2 control-label">登录密码*</label>

                <div class="col-sm-8">
                    <input type="password" class="form-control" id="password" placeholder="登录密码" name="password">
                </div>
            </div>
            <div class="form-group">
                <label for="verify" class="col-sm-2 control-label">验证码*</label>

                <div class="col-sm-4">
                    <input type="text" class="form-control" id="verify" placeholder="验证码" name="verify">
                </div>
                <div class="col-sm-4">
                    <img src="<?php echo U('User/verify');?>" class="form-control" >
                </div>
            </div>
            <div class="form-group button">
                <input class="btn btn-primary" type="submit" value="登录">
            </div>
        </form>
    </div>
</div>
</body>
</html>